package com.rf.richfitwheel.admin.sys.model;

public class CodeDef {
    private String id;

    private String code;

    private String name;

    private String canOver;

    private String des;

    private Integer version;

    public CodeDef(String id, String code, String name, String canOver, String des, Integer version) {
        this.id = id;
        this.code = code;
        this.name = name;
        this.canOver = canOver;
        this.des = des;
        this.version = version;
    }

    public CodeDef() {
        super();
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getCanOver() {
        return canOver;
    }

    public void setCanOver(String canOver) {
        this.canOver = canOver == null ? null : canOver.trim();
    }

    public String getDes() {
        return des;
    }

    public void setDes(String des) {
        this.des = des == null ? null : des.trim();
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    @Override
    public String toString() {
        return "CodeDef{" +
                "id='" + id + '\'' +
                ", code='" + code + '\'' +
                ", name='" + name + '\'' +
                ", canOver='" + canOver + '\'' +
                ", des='" + des + '\'' +
                ", version=" + version +
                '}';
    }
}